package com.inforich.app.api.controller.disposal;

import com.inforich.app.component.LoginUser;
import com.inforich.app.component.LoginUserApp;
import com.inforich.app.component.PreAppRole;
import com.inforich.common.core.domain.AjaxResult;
import com.inforich.disposal.service.IDisposalLandService;
import java.util.HashMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: 资源化利用企业
 * @author: HJM
 * @date: 2022/10/29
 */
@RestController
@RequestMapping("/h5api/disposalLand")
public class AppDisposalLandController {

  @Autowired
  private IDisposalLandService disposalLandService;

  /**
   * 资源化利用企业列表
   */
  @GetMapping("/all")
  public AjaxResult all() {
    return AjaxResult.success(disposalLandService.listDisposalLand(new HashMap<>()));
  }


}
